package com.shiguiwu.springmybatis.spring;

import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.StrUtil;

import java.util.Arrays;
import java.util.List;

/**
 * @description: spring测试
 * @author: stone
 * @date: Created by 2021/3/8 12:51
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring
 */
public class SpringTests {

    public static void main(String[] args) {
        List<Integer> l = Arrays.asList(1, 2, 3);
        Integer reduce = l.stream().reduce(0, Integer::sum);
        System.out.println(12/100);
        NumberUtil.roundStr("12.036", 2);


        String s = StrUtil.removeSufAndLowerFirst("string,weqew?,dsadsad? , ", ",");
        System.out.println(s);
    }
}
